package com.sdy.po;

public class Authority {

    private Integer id;
    private Boolean customer;
    private Boolean technicalAdmin;
    private Boolean systemAdmin;
    private Boolean salesAdmin;

    @Override
    public String toString() {
        return "Authority{" +
                "id=" + id +
                ", customer=" + customer +
                ", technicalAdmin=" + technicalAdmin +
                ", systemAdmin=" + systemAdmin +
                ", salesAdmin=" + salesAdmin +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Boolean getCustomer() {
        return customer;
    }

    public void setCustomer(Boolean customer) {
        this.customer = customer;
    }

    public Boolean getTechnicalAdmin() {
        return technicalAdmin;
    }

    public void setTechnicalAdmin(Boolean technicalAdmin) {
        this.technicalAdmin = technicalAdmin;
    }

    public Boolean getSystemAdmin() {
        return systemAdmin;
    }

    public void setSystemAdmin(Boolean systemAdmin) {
        this.systemAdmin = systemAdmin;
    }

    public Boolean getSalesAdmin() {
        return salesAdmin;
    }

    public void setSalesAdmin(Boolean salesAdmin) {
        this.salesAdmin = salesAdmin;
    }

    public Authority() {
    }

    public Authority(Integer id, Boolean customer, Boolean technicalAdmin, Boolean systemAdmin, Boolean salesAdmin) {
        this.id = id;
        this.customer = customer;
        this.technicalAdmin = technicalAdmin;
        this.systemAdmin = systemAdmin;
        this.salesAdmin = salesAdmin;
    }
}
